import request from '@/utils/request'

export default {
    // 根据手机号发送验证码
    submitLogin(userInfo) {
        return request({
            url: `/ucentermember/member/login`,
            method: 'post',
            data: userInfo
        })
    },
    // 根据token获取用户信息
    getLoginUserInfo() {
        return request({
            url: `/ucentermember/member/getMemberInfo`,
            method: 'get',
        })
    },
}